package com.hr.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hr.entity.AoaNoticeList;
import com.hr.entity.AoaRole;

import java.util.List;

/**
 * (AoaNoticeList)表服务接口
 *
 * @author makejava
 * @since 2022-06-19 14:19:25
 */
public interface AoaNoticeListService extends IService<AoaNoticeList> {
    /**
     * 查询公告，三表连查， aoa_notice_list，aoa_user，aoa_dept
     * @return
     */
//    List<AoaNoticeList> queryListAll(Page<AoaRole> page);
    Page<AoaNoticeList> queryList(Page<AoaNoticeList> page);

    AoaNoticeList queryById(Integer noticeId);

    Integer queryMax();
}


